package com.example.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class NotificationDTO {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long notificationId;

    private String title;

    private String image;

    private String content;

    private LocalDateTime publishDate;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long publisherId;

    private Integer notificationType;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    private Boolean isRead;
}
